From fc98ffbe8feb184ba88fb805a4c3b9ad018a6167 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 30 Jun 2025 23:30:09 -0700 Subject: update stub middleware page css styling --- middleware/src/app/[gameName]/page.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'middleware/src/app/[gameName]') diff --git a/middleware/src/app/[gameName]/page.tsx b/middleware/src/app/[gameName]/page.tsx index 42045f2..4df7efb 100644 --- a/middleware/src/app/[gameName]/page.tsx +++ b/middleware/src/app/[gameName]/page.tsx @@ -1,8 +1,5 @@ import { Metadata } from "next"; -import { headers } from "next/headers"; -import { userAgent } from "next/server"; -import { redirect } from "next/navigation"; - +import kairosImage from '../kairos.png'; export async function generateMetadata({ params, searchParams, @@ -45,6 +42,10 @@ export async function generateMetadata({ if (!matchingPost) { return { title: "Post not found" }; } + if (!matchingPost.headline) { + matchingPost.headline = matchingPost.content; + matchingPost.content = ""; + } return { title: matchingPost.headline, description: matchingPost.content.slice(0, 100), @@ -95,14 +96,17 @@ export default async function GamePage({

573 UPDATES

Updates image {redirectUrl && ( + <> +
click here if not redirected + )}
-- cgit v1.2.3